From: | Jens Granseuer |
Date: | 02 Aug 99 at 18:47:12 |
Subject: | Re: Cycle gadget problem |
From: "Jens Granseuer" <jensgr@gmx.net>
Damir Arh <damir.arh@guest.arnes.si> wrote:
> I have come accross a very strange problem. I have a few gadtools cycle
> gadgets in my program and strangely their contents suddenly don't appear
> centred (they did before, but after some changes in the code - IIRC none
> directly related to cycle gadgets - they don't any more). I'm really
> clueless about it. Does anyone have any smart ideas, what could be the
> reason for it.
>
> It certainly is a problem, as although there is enough space for the text,
> it is written to much to the left and so doen't fit in any more. I guess
> that for the same reason these gadgets aren't compatible to the CycleToMenu
> patches and so result in strange effects. I would send in some code, but I
> don't know which part would be essential.
Sometimes similar effects are caused if the labels you use are not
'stable', i.e. either global or static. In that case you'd probably also be
generating some Enforcer hits...
Without any further details that's just a shot into the dark, but that's
what I thought of.
Jens